HTML Tags | Examples |
---|---|
<center> - Center displayed elements | |
<center> This text is centered. </center> |
|
<h1> - Heading level 1 | |
<h1> This is H1 text </h1> |
This is H1 text |
<h2> - Heading level 2 | |
<h2> This is H2 text </h2> |
This is H2 text |
<h3> - Heading level 3 | |
<h3> This is H3 text </h3> |
This is H3 text |
<b> - Bold;
<i> - Italic;
<u> - Underline |
|
<b>This is BOLD text</b> <i>This is ITALIC text</i> <u>This is UNDERLINE text</u> |
This is BOLD text This is ITALIC text This is UNDERLINE text |
<hr> - Horizontal rule | |
Line 1 <hr> Line 2 |
Line 1 Line 2 |
<p> - Paragraph (skip a line) | |
Line 1 <p> Line 2 |
Line 1 Line 2 |
<br> - Line break (don't skip line) | |
Line 1. Not second line. <br> Line 2. |
Line 1.
Not second line.
Line 2 |
- Non-breaking space | |
These extra
spaces don't show. But these do. |
These extra spaces don't show. But these do. |
<font> - Text Font (deprecated - better to use CSS) | |
<font face="courier" color="red" size="5"> This is big, red, courier text. </font> | This is big, red, courier text. |
<img> - Image | |
<img src="images/vtmug-logo.gif" /> | |
<a> - Anchor (Hyperlink) | |
<a href="http://www.vtmug.org"> VTMUG website </a> |
VTMUG website |